import axios from '@/utils/request'

// 联想输入的词语
export function lianxiangci(q) {
  return axios({
    url: '/v1_0/suggestion',
    params: {
      q
    }
  })
}

/**
 *
 * @param { } page
 * @param {*} q
 * @returns
 */
export function searchci(page, q) {
  return axios({
    url: '/v1_0/search',
    params: {
      page,
      q,
      per_page: 10 // 每页数量
    }
  })
}
